import request from "../request.js";

// 打卡任务
export function task(data,headers) {
  return request({
    url: "/api/user/task",
    method: "post",
    data,
    headers
  });
}

// 立即打卡
export function task_clock(data) {
  return request({
    url: "/api/user/clock",
    method: "post",
    data,
  });
}   